package com.hydl.power.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LoadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LoadExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidIsNull() {
            addCriterion("power_roomId is null");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidIsNotNull() {
            addCriterion("power_roomId is not null");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidEqualTo(String value) {
            addCriterion("power_roomId =", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidNotEqualTo(String value) {
            addCriterion("power_roomId <>", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidGreaterThan(String value) {
            addCriterion("power_roomId >", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidGreaterThanOrEqualTo(String value) {
            addCriterion("power_roomId >=", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidLessThan(String value) {
            addCriterion("power_roomId <", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidLessThanOrEqualTo(String value) {
            addCriterion("power_roomId <=", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidLike(String value) {
            addCriterion("power_roomId like", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidNotLike(String value) {
            addCriterion("power_roomId not like", value, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidIn(List<String> values) {
            addCriterion("power_roomId in", values, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidNotIn(List<String> values) {
            addCriterion("power_roomId not in", values, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidBetween(String value1, String value2) {
            addCriterion("power_roomId between", value1, value2, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andPowerRoomidNotBetween(String value1, String value2) {
            addCriterion("power_roomId not between", value1, value2, "powerRoomid");
            return (Criteria) this;
        }

        public Criteria andAreaNameIsNull() {
            addCriterion("area_name is null");
            return (Criteria) this;
        }

        public Criteria andAreaNameIsNotNull() {
            addCriterion("area_name is not null");
            return (Criteria) this;
        }

        public Criteria andAreaNameEqualTo(String value) {
            addCriterion("area_name =", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotEqualTo(String value) {
            addCriterion("area_name <>", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameGreaterThan(String value) {
            addCriterion("area_name >", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameGreaterThanOrEqualTo(String value) {
            addCriterion("area_name >=", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLessThan(String value) {
            addCriterion("area_name <", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLessThanOrEqualTo(String value) {
            addCriterion("area_name <=", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLike(String value) {
            addCriterion("area_name like", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotLike(String value) {
            addCriterion("area_name not like", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameIn(List<String> values) {
            addCriterion("area_name in", values, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotIn(List<String> values) {
            addCriterion("area_name not in", values, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameBetween(String value1, String value2) {
            addCriterion("area_name between", value1, value2, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotBetween(String value1, String value2) {
            addCriterion("area_name not between", value1, value2, "areaName");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("data_type is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("data_type is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            addCriterion("data_type =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            addCriterion("data_type <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            addCriterion("data_type >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("data_type >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            addCriterion("data_type <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            addCriterion("data_type <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            addCriterion("data_type like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            addCriterion("data_type not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            addCriterion("data_type in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            addCriterion("data_type not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("data_type between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("data_type not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andPowerRoomIsNull() {
            addCriterion("power_room is null");
            return (Criteria) this;
        }

        public Criteria andPowerRoomIsNotNull() {
            addCriterion("power_room is not null");
            return (Criteria) this;
        }

        public Criteria andPowerRoomEqualTo(String value) {
            addCriterion("power_room =", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomNotEqualTo(String value) {
            addCriterion("power_room <>", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomGreaterThan(String value) {
            addCriterion("power_room >", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomGreaterThanOrEqualTo(String value) {
            addCriterion("power_room >=", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomLessThan(String value) {
            addCriterion("power_room <", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomLessThanOrEqualTo(String value) {
            addCriterion("power_room <=", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomLike(String value) {
            addCriterion("power_room like", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomNotLike(String value) {
            addCriterion("power_room not like", value, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomIn(List<String> values) {
            addCriterion("power_room in", values, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomNotIn(List<String> values) {
            addCriterion("power_room not in", values, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomBetween(String value1, String value2) {
            addCriterion("power_room between", value1, value2, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andPowerRoomNotBetween(String value1, String value2) {
            addCriterion("power_room not between", value1, value2, "powerRoom");
            return (Criteria) this;
        }

        public Criteria andCircuitNameIsNull() {
            addCriterion("circuit_name is null");
            return (Criteria) this;
        }

        public Criteria andCircuitNameIsNotNull() {
            addCriterion("circuit_name is not null");
            return (Criteria) this;
        }

        public Criteria andCircuitNameEqualTo(String value) {
            addCriterion("circuit_name =", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameNotEqualTo(String value) {
            addCriterion("circuit_name <>", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameGreaterThan(String value) {
            addCriterion("circuit_name >", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameGreaterThanOrEqualTo(String value) {
            addCriterion("circuit_name >=", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameLessThan(String value) {
            addCriterion("circuit_name <", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameLessThanOrEqualTo(String value) {
            addCriterion("circuit_name <=", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameLike(String value) {
            addCriterion("circuit_name like", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameNotLike(String value) {
            addCriterion("circuit_name not like", value, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameIn(List<String> values) {
            addCriterion("circuit_name in", values, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameNotIn(List<String> values) {
            addCriterion("circuit_name not in", values, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameBetween(String value1, String value2) {
            addCriterion("circuit_name between", value1, value2, "circuitName");
            return (Criteria) this;
        }

        public Criteria andCircuitNameNotBetween(String value1, String value2) {
            addCriterion("circuit_name not between", value1, value2, "circuitName");
            return (Criteria) this;
        }

        public Criteria andPowerFactorIsNull() {
            addCriterion("power_factor is null");
            return (Criteria) this;
        }

        public Criteria andPowerFactorIsNotNull() {
            addCriterion("power_factor is not null");
            return (Criteria) this;
        }

        public Criteria andPowerFactorEqualTo(String value) {
            addCriterion("power_factor =", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorNotEqualTo(String value) {
            addCriterion("power_factor <>", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorGreaterThan(String value) {
            addCriterion("power_factor >", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorGreaterThanOrEqualTo(String value) {
            addCriterion("power_factor >=", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorLessThan(String value) {
            addCriterion("power_factor <", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorLessThanOrEqualTo(String value) {
            addCriterion("power_factor <=", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorLike(String value) {
            addCriterion("power_factor like", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorNotLike(String value) {
            addCriterion("power_factor not like", value, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorIn(List<String> values) {
            addCriterion("power_factor in", values, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorNotIn(List<String> values) {
            addCriterion("power_factor not in", values, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorBetween(String value1, String value2) {
            addCriterion("power_factor between", value1, value2, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andPowerFactorNotBetween(String value1, String value2) {
            addCriterion("power_factor not between", value1, value2, "powerFactor");
            return (Criteria) this;
        }

        public Criteria andActivePowerIsNull() {
            addCriterion("active_power is null");
            return (Criteria) this;
        }

        public Criteria andActivePowerIsNotNull() {
            addCriterion("active_power is not null");
            return (Criteria) this;
        }

        public Criteria andActivePowerEqualTo(String value) {
            addCriterion("active_power =", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerNotEqualTo(String value) {
            addCriterion("active_power <>", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerGreaterThan(String value) {
            addCriterion("active_power >", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerGreaterThanOrEqualTo(String value) {
            addCriterion("active_power >=", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerLessThan(String value) {
            addCriterion("active_power <", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerLessThanOrEqualTo(String value) {
            addCriterion("active_power <=", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerLike(String value) {
            addCriterion("active_power like", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerNotLike(String value) {
            addCriterion("active_power not like", value, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerIn(List<String> values) {
            addCriterion("active_power in", values, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerNotIn(List<String> values) {
            addCriterion("active_power not in", values, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerBetween(String value1, String value2) {
            addCriterion("active_power between", value1, value2, "activePower");
            return (Criteria) this;
        }

        public Criteria andActivePowerNotBetween(String value1, String value2) {
            addCriterion("active_power not between", value1, value2, "activePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerIsNull() {
            addCriterion("reactive_power is null");
            return (Criteria) this;
        }

        public Criteria andReactivePowerIsNotNull() {
            addCriterion("reactive_power is not null");
            return (Criteria) this;
        }

        public Criteria andReactivePowerEqualTo(String value) {
            addCriterion("reactive_power =", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerNotEqualTo(String value) {
            addCriterion("reactive_power <>", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerGreaterThan(String value) {
            addCriterion("reactive_power >", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerGreaterThanOrEqualTo(String value) {
            addCriterion("reactive_power >=", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerLessThan(String value) {
            addCriterion("reactive_power <", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerLessThanOrEqualTo(String value) {
            addCriterion("reactive_power <=", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerLike(String value) {
            addCriterion("reactive_power like", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerNotLike(String value) {
            addCriterion("reactive_power not like", value, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerIn(List<String> values) {
            addCriterion("reactive_power in", values, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerNotIn(List<String> values) {
            addCriterion("reactive_power not in", values, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerBetween(String value1, String value2) {
            addCriterion("reactive_power between", value1, value2, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andReactivePowerNotBetween(String value1, String value2) {
            addCriterion("reactive_power not between", value1, value2, "reactivePower");
            return (Criteria) this;
        }

        public Criteria andLoadFactorIsNull() {
            addCriterion("Load_factor is null");
            return (Criteria) this;
        }

        public Criteria andLoadFactorIsNotNull() {
            addCriterion("Load_factor is not null");
            return (Criteria) this;
        }

        public Criteria andLoadFactorEqualTo(String value) {
            addCriterion("Load_factor =", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorNotEqualTo(String value) {
            addCriterion("Load_factor <>", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorGreaterThan(String value) {
            addCriterion("Load_factor >", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorGreaterThanOrEqualTo(String value) {
            addCriterion("Load_factor >=", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorLessThan(String value) {
            addCriterion("Load_factor <", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorLessThanOrEqualTo(String value) {
            addCriterion("Load_factor <=", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorLike(String value) {
            addCriterion("Load_factor like", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorNotLike(String value) {
            addCriterion("Load_factor not like", value, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorIn(List<String> values) {
            addCriterion("Load_factor in", values, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorNotIn(List<String> values) {
            addCriterion("Load_factor not in", values, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorBetween(String value1, String value2) {
            addCriterion("Load_factor between", value1, value2, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andLoadFactorNotBetween(String value1, String value2) {
            addCriterion("Load_factor not between", value1, value2, "loadFactor");
            return (Criteria) this;
        }

        public Criteria andISumIsNull() {
            addCriterion("I_sum is null");
            return (Criteria) this;
        }

        public Criteria andISumIsNotNull() {
            addCriterion("I_sum is not null");
            return (Criteria) this;
        }

        public Criteria andISumEqualTo(String value) {
            addCriterion("I_sum =", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumNotEqualTo(String value) {
            addCriterion("I_sum <>", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumGreaterThan(String value) {
            addCriterion("I_sum >", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumGreaterThanOrEqualTo(String value) {
            addCriterion("I_sum >=", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumLessThan(String value) {
            addCriterion("I_sum <", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumLessThanOrEqualTo(String value) {
            addCriterion("I_sum <=", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumLike(String value) {
            addCriterion("I_sum like", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumNotLike(String value) {
            addCriterion("I_sum not like", value, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumIn(List<String> values) {
            addCriterion("I_sum in", values, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumNotIn(List<String> values) {
            addCriterion("I_sum not in", values, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumBetween(String value1, String value2) {
            addCriterion("I_sum between", value1, value2, "iSum");
            return (Criteria) this;
        }

        public Criteria andISumNotBetween(String value1, String value2) {
            addCriterion("I_sum not between", value1, value2, "iSum");
            return (Criteria) this;
        }

        public Criteria andIaIsNull() {
            addCriterion("Ia is null");
            return (Criteria) this;
        }

        public Criteria andIaIsNotNull() {
            addCriterion("Ia is not null");
            return (Criteria) this;
        }

        public Criteria andIaEqualTo(String value) {
            addCriterion("Ia =", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotEqualTo(String value) {
            addCriterion("Ia <>", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaGreaterThan(String value) {
            addCriterion("Ia >", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaGreaterThanOrEqualTo(String value) {
            addCriterion("Ia >=", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLessThan(String value) {
            addCriterion("Ia <", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLessThanOrEqualTo(String value) {
            addCriterion("Ia <=", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLike(String value) {
            addCriterion("Ia like", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotLike(String value) {
            addCriterion("Ia not like", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaIn(List<String> values) {
            addCriterion("Ia in", values, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotIn(List<String> values) {
            addCriterion("Ia not in", values, "ia");
            return (Criteria) this;
        }

        public Criteria andIaBetween(String value1, String value2) {
            addCriterion("Ia between", value1, value2, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotBetween(String value1, String value2) {
            addCriterion("Ia not between", value1, value2, "ia");
            return (Criteria) this;
        }

        public Criteria andIbIsNull() {
            addCriterion("Ib is null");
            return (Criteria) this;
        }

        public Criteria andIbIsNotNull() {
            addCriterion("Ib is not null");
            return (Criteria) this;
        }

        public Criteria andIbEqualTo(String value) {
            addCriterion("Ib =", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotEqualTo(String value) {
            addCriterion("Ib <>", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbGreaterThan(String value) {
            addCriterion("Ib >", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbGreaterThanOrEqualTo(String value) {
            addCriterion("Ib >=", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLessThan(String value) {
            addCriterion("Ib <", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLessThanOrEqualTo(String value) {
            addCriterion("Ib <=", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLike(String value) {
            addCriterion("Ib like", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotLike(String value) {
            addCriterion("Ib not like", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbIn(List<String> values) {
            addCriterion("Ib in", values, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotIn(List<String> values) {
            addCriterion("Ib not in", values, "ib");
            return (Criteria) this;
        }

        public Criteria andIbBetween(String value1, String value2) {
            addCriterion("Ib between", value1, value2, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotBetween(String value1, String value2) {
            addCriterion("Ib not between", value1, value2, "ib");
            return (Criteria) this;
        }

        public Criteria andIcIsNull() {
            addCriterion("Ic is null");
            return (Criteria) this;
        }

        public Criteria andIcIsNotNull() {
            addCriterion("Ic is not null");
            return (Criteria) this;
        }

        public Criteria andIcEqualTo(String value) {
            addCriterion("Ic =", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotEqualTo(String value) {
            addCriterion("Ic <>", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcGreaterThan(String value) {
            addCriterion("Ic >", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcGreaterThanOrEqualTo(String value) {
            addCriterion("Ic >=", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLessThan(String value) {
            addCriterion("Ic <", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLessThanOrEqualTo(String value) {
            addCriterion("Ic <=", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLike(String value) {
            addCriterion("Ic like", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotLike(String value) {
            addCriterion("Ic not like", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcIn(List<String> values) {
            addCriterion("Ic in", values, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotIn(List<String> values) {
            addCriterion("Ic not in", values, "ic");
            return (Criteria) this;
        }

        public Criteria andIcBetween(String value1, String value2) {
            addCriterion("Ic between", value1, value2, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotBetween(String value1, String value2) {
            addCriterion("Ic not between", value1, value2, "ic");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}